home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000007_fdc@columbia.edu_Mon Nov 24 14:08:52 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Problems with send /delete command
  5. Date: 24 Nov 2003 19:06:53 GMT
  6. Organization: Columbia University
  7. Lines: 38
  8. Message-ID: <slrnbs4lmd.lo9.fdc@sesame.cc.columbia.edu>
  9. References: <f0bb0f39.0311241039.78a6c10e@posting.google.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1069700813 4308 128.59.59.56 (24 Nov 2003 19:06:53 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 24 Nov 2003 19:06:53 GMT
  15. User-Agent: slrn/0.9.7.4 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14683
  17.  
  18. In article <f0bb0f39.0311241039.78a6c10e@posting.google.com>,
  19. newexpectuser wrote:
  20. : I have Kermit running on Linux Release 9 and have the following lines
  21. : in my script (This first logs me onto a remote server running Linux
  22. : 7.3 and has Kermit):
  23. : set host /pty ssh -e none l root xxx.xxx.xx.xxx
  24. : if fail stop 1
  25. : minput 30 "password:" ">"
  26. : if < \v(minput) 1 stop 1 "MINPUT = \v(minput)"
  27. : switch \v(minput) {
  28. ::1, echo PASSWORD INPUT OK
  29. :     lineout xxxxxxxxxx
  30. :     input 30 "#"
  31. :     if fail stop 1 PROMPT INPUT FAILED
  32. ::2, echo PROMPT INPUT OK
  33. :     lineout "kermit -x"
  34. :     input 20 "KERMIT READY TO SERVE..."
  35. :     rcd /home/inbox
  36. :     send /delete testfile.dat
  37. : }
  38. : bye
  39. : exit
  40. : It logs me in and it gives me the remote directory listing, but when
  41. : it executes the send /delete it says the following:
  42. : ?File not found - "testfile.dat"
  43. testfile.dat is a local file that you want to send to the remote computer.
  44. But testfile.dat does not exist in Kermit's current local directory.  Either
  45. you misspelled the name or else you have to give a relative or absolute
  46. pathname for the source file.
  47.  
  48. You should also check "rcd /home/inbox" with IF FAIL to make sure you're
  49. in the right remote directory before sending the file.
  50.  
  51. - Frank
  52.